Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Coverity] GPU Plugin Medium issues #27761

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mhpanah
Copy link
Contributor

@mhpanah mhpanah commented Nov 26, 2024

Details:

  • This PR fixes: 1562334, 1559879, 1559863, 1559854, 1559677, 1559879, 1559863

  • 1559461 and 1559460 are related to ov::pass::pattern::matcher in decompose_reduce_scalar_output.cpp

  • 1559886 and 1559881 are related to ov::pass::pattern::matcher in transpose_fusion.cpp

  • 1559862 is related to ov::pass::pattern::matcher in transpose_fusion.cpp

  • 1559698 and 1559691 are related to ov::pass::pattern::matcher in bcast_and_pad_zp_buffers.cpp

  • all member variables are initialized in the constructors' initializer lists of ov::pass::pattern::matcher to address 1559461, 1559460, 1559886, 1559881, 1559862, 1559698, 1559691.

Tickets:

@github-actions github-actions bot added the category: GPU OpenVINO GPU plugin label Nov 26, 2024
@sys-openvino-ci sys-openvino-ci added the ExternalIntelPR External contributor from Intel label Nov 26, 2024
@p-durandin
Copy link
Contributor

buid_jenkins

if (quantize_grp_size == 0) {
std::cerr << "Error: quantize_grp_size is zero." << std::endl;
return;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use exception or assert here

@@ -941,6 +946,11 @@ KernelsData FullyConnected_bf_tiled::GetMultiKernelsData(const Params &params,

size_t quantize_grp_size = get_dynamic_quantize_group_size(fc_params);

if (quantize_grp_size == 0) {
std::cerr << "Error: quantize_grp_size is zero." << std::endl;
return KernelsData();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use exception or assert here

@p-durandin p-durandin marked this pull request as ready for review November 28, 2024 06:05
@p-durandin p-durandin requested review from a team as code owners November 28, 2024 06:05
@p-durandin
Copy link
Contributor

build_jenkins

@mhpanah mhpanah requested a review from a team as a code owner December 5, 2024 23:59
@mhpanah mhpanah requested review from itikhono and removed request for a team December 5, 2024 23:59
@github-actions github-actions bot added category: Core OpenVINO Core (aka ngraph) category: transformations OpenVINO Runtime library - Transformations category: CPP API OpenVINO CPP API bindings labels Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: Core OpenVINO Core (aka ngraph) category: CPP API OpenVINO CPP API bindings category: GPU OpenVINO GPU plugin category: transformations OpenVINO Runtime library - Transformations ExternalIntelPR External contributor from Intel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants